(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";

(function () {
    var template = function template(self) {
        return self.innerHTML;
    };

    document.auiDefineElement('aux-dialog', {
        template: template,
        attached: function attached(self) {
            self.$locked = false;
            self.show = function () {
                self.auiToggleAttribute("open", "open");
            };
            self.hide = function () {
                self.auiToggleAttribute("open", "open");
            };
            self.toggle = function () {
                self.auiToggleAttribute("open", "open");
            };
        }
    });

    document.auiDefineElement('aux-dialog-trigger', {
        template: function template(self) {
            return self.innerHTML;
        },
        props: {},
        attached: function attached(self) {
            self.$locked = false;
            self.addEventListener("click", function () {
                console.log(self.getAttribute("for"));
                var dialog = document.getElementById(self.getAttribute("for"));
                if (dialog) {
                    dialog.show();
                }
            });
        }
    });
})();
},{}]},{},[1])